home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 1 / Gold Medal Software Volume 1 (Gold Medal) (1994).iso / prog / dasv10_.arj / COUNTDN.CPP < prev    next >
Encoding:
C/C++ Source or Header  |  1993-08-09  |  179 b   |  11 lines

  1. // math.lib library function count_down()
  2. #include <iostream.h>
  3.  
  4. void count_down(long counter)
  5. {
  6.     do {
  7.        cout<<" "<<counter;
  8.        } while (--counter>=1);
  9. cout<<"\n";
  10. }
  11.